package org.eweb4j.mvc.config.bean;

import java.util.ArrayList;
import java.util.List;

import org.eweb4j.util.xml.tag.XmlTag;
import org.eweb4j.util.xml.tag.XmlTagType;

public class FieldConfigBean {
	@XmlTag(type = XmlTagType.attriType)
	private String name;
	@XmlTag(type = XmlTagType.attriType)
	private String message;
	@XmlTag(type = XmlTagType.listClassType)
	private List<ParamConfigBean> param = new ArrayList<ParamConfigBean>();
//	@XmlTag(type = XmlTagType.attriType)
//	private String xmlBean;

	@Override
	public String toString() {
		return "FieldConfigBean [name=" + name + ", message=" + message
				+ ", param=" + param + "]";
	}

	// public String getXmlBean() {
	// return xmlBean;
	// }
	//
	// public void setXmlBean(String xmlBean) {
	// this.xmlBean = xmlBean;
	// }

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public List<ParamConfigBean> getParam() {
		return param;
	}

	public void setParam(List<ParamConfigBean> param) {
		this.param = param;
	}
}
